package mianxiangduixiang;
import java.util.Calendar;
public class Students {
	
	String name;
	int id;
	public Students(String name)
	{
		this.name=name;
	}
	public int getDate() {
		Calendar now=Calendar.getInstance();
		return now.get(Calendar.YEAR)*10000+now.get(Calendar.MONTH+1)*100+now.get(Calendar.DAY_OF_MONTH);
	}
	course[][][] c=new course[6][2][3];
	int scoi=5;
	int aa=0;
	int bb=0;
	course cs=null;
	public void addcourse(int xueqi,String course,double score){
		cs=new course();
		cs.course=course;
		cs.score=score;
		cs.cdate=getDate();
		if(xueqi==0) 
		{
			
			c[scoi][xueqi][aa]=cs;
			aa++;
		}else{
			
			c[scoi][xueqi][bb]=cs;
			bb++;
		}
	}
}
